<template>
    <div class="main">
      <div class="title">添 加 IP</div>
      <div class="content">
        <div><span>网络名称:</span><input type="text" /></div>
        <div><span>IP地 址:</span><input type="text" /></div>
        <div><span>子网掩码:</span><input type="text"></div>
        <div><button @click="back">确定</button><button  @click="back">取消</button></div>
      </div>
    </div>
  </template>
  <script setup>
  import { ref } from 'vue';
import { useRouter } from 'vue-router';
  const router=useRouter();
  const back=()=>{
    router.push({path:"/sheZhi",query:{data:'ping'}})
  }
  </script>
  <style scoped>
  @import url("./addIP.less");
  </style>